home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 10 / FM Towns Free Software Collection 10.iso / ms_dos / tool / conhlp03 / padp_src / calo.h next >
C/C++ Source or Header  |  1994-11-28  |  732b  |  35 lines

  1. /*
  2.     calo.h
  3. #define PROGRAM   "プログラム名 - calo.h -"
  4. #define VERSION   "V0.00"
  5. #define FIRSTDATE "94/11/26"
  6. #define FINALDATE "94/11/28"
  7. #define USAGE     "Usage: 使い方"
  8. */
  9.  
  10. #ifndef MAIN
  11. #error for MAIN only.
  12. #endif
  13.  
  14. #include <stdio.h>
  15. #include <stdlib.h>
  16.  
  17. #ifdef     LSI_C
  18. #define USE_CC    "/use LSI C-86 V3.30c 試食版"
  19. #else
  20. #define USE_CC    ""
  21. #endif 
  22. #define PPVER    PROGRAM " " VERSION "  since " FIRSTDATE " - " FINALDATE
  23. #define CALOCOPY "   by calo.[pec01662@niftyserve.or.jp](CopyLeft)" USE_CC
  24.  
  25. void usage( char *prg ){
  26.     if( errno != NULL ){
  27.         perror( prg );
  28.     } else {
  29.         fputs( prg, stderr );
  30.         fputs( "\n" PPVER "\n" CALOCOPY "\n" ,stderr );
  31.     }
  32.     fputs( USAGE "\n" ,stderr );
  33.     exit(1);
  34. }
  35.